/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2023-03-01
 * Time:12:21
 */
public enum Browser {
    FIREFOX("firefox"),

    IE("ie"){public String toString() {return "Internet Browser";}},

    NETSCAPE("netscape");

    Browser(String name){}

    public static void main(String args[]) {

        for (Browser browser:Browser.values())

            System.out.println(browser);

    }

}